<wicket:panel xmlns:wicket="http://wicket.apache.org">

  <div class="header-info text-center">
    <a data-toggle="modal" href="#loginModal" class="regular link">
      <wicket:message key="login.loginLink" />
    </a>
  </div>

  <div class="header-info text-center">
    <a href="#" wicket:id="registerLink" class="regular link">
      <wicket:message key="login.registerNow" />
    </a>
  </div>

  <!-- Login modal with the login form -->
  <div id="loginModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modalLabelTitle" aria-hidden="true">

    <div class="modal-dialog">
      <div class="modal-content">

        <!-- Modal Header -->
        <div class="modal-header header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title" id="modalLabelTitle">
            <wicket:message key="login.loginModalTitle" />
          </h4>
        </div>

        <!-- Modal Body -->
        <div class="modal-body">

          <wicket:container wicket:id="loginFormPanel" />

          <a href="#" wicket:id="forgottenPassword">
            <wicket:message key="login.forgottenPassword" />
          </a>

        </div>

      </div>
    </div>

  </div>
</wicket:panel>